package com.lemon.ashe;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

@EnableEurekaClient
//@EnableDiscoveryClient
@SpringBootApplication
//@RibbonClient
@EnableCircuitBreaker
@EnableFeignClients
@MapperScan(basePackages = "com.lemon.ashe.mapper")
public class AsheApplication {

	public static void main(String[] args) {
		SpringApplication.run(AsheApplication.class, args);
	}

}
